<template>
  <div class="off-line">
    <total-view class="item" :info="info"></total-view>
    <try-project class="item" :info="info"></try-project>
    <check-project class="item" :info="info"></check-project>
  </div>
</template>

<script>
import TotalView from "./TotalView";
import TryProject from "./TryProject";
import CheckProject from "./CheckProject";
export default {
  components: {
    TotalView,
    TryProject,
    CheckProject
  },
  props: {
    info: {
      type: Object,
      default: null
    }
  }
};
</script>

<style lang="scss" scoped>
.off-line {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 10px;
  .item {
    flex: 1;
    min-height: 100%;
    border: 1px solid rgba(230, 234, 238, 1);
    margin-left: 10px;
    border-radius: 4px;
    &:first-child {
      margin-left: 0;
    }
  }
  /deep/ .content-container {
    .row {
      padding: 0 10px;
      margin: 0;
      line-height: 1.6;
      .left {
        display: flex;
        align-items: center;
        img {
          width: 14px;
          height: 14px;
        }
      }
    }
    .content {
      flex: 1;
    }
    .footer {
      background: #fafbfc;
      border-top: 1px solid rgba(230, 234, 238, 1);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      padding: 10px 0;
      & > div {
        flex: 1;
      }
      .el-button {
        height: 22px;
        padding: 0 10px;
        line-height: 22px;
        border-radius: 12px;
      }
    }
  }
}
</style>
